const path = require('path')

const h = (partPath) => {
  return path.normalize(path.join(__dirname, partPath))
}

module.exports = {
  API_PATH: h('../api/'),
  CONFIG_PATH: h('../config/'),
  CONTROLLER_PATH: h('../controller/'),
  MODEL_PATH: h('../models/'),
  VIEW_PATH: h('../views/'),
  PUBLIC_PATH: h('../public/'),
  ROUTER_PATH: h('../router/'),
  MIDDLEWARE_PATH: h('../middlewares/')
}
